package com.chenfan.mapper;

import com.chenfan.pojo.OperateLog;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface OperateLogMapper {
    //插入日志数据
    @Insert("insert into log (operateUser, operateType, operateParams,  costTime,operateTime) " +
            "values (#{operateUser}, #{operateType}, #{operateParams}, #{costTime}, #{operateTime});")
    public void insert(OperateLog log);
}